function fcn_staticCam(Tnew,Bodies,h) %#ok<INUSL>
%STATICCAMERAPOSITION follows the first body from a set offsets and does
%not have any dynamic motion.

% Copyright 2006-2007 The MathWorks, Inc.
% $Revision: 1.1.6.2 $ $Date: 2008/01/10 21:06:55 $

%--- Location of camera is a static "chase plane", 
%    use first body as target position reference 

% if ~isempty(Bodies) && isa(Bodies, 'cell') && isa(Bodies{1},'Aero.Body')
%     target     = Bodies{1};
%     targetPos  = target.Position;
% else
%     targetPos = h.AimPoint; % don't change anything
% end
% 
% viewExtent = h.ViewExtent;
% 
% %--- Extent of view to render
% 
% h.xlim = targetPos(1) + viewExtent;
% h.ylim = targetPos(2) + viewExtent;
% h.zlim = targetPos(3) + viewExtent;
% 
% %--- Camera aim point for [x,y,z] aim point
% 
% h.AimPoint = targetPos;
% 
% %--- Camera position for [x,y,z] position
% 
% h.Position = targetPos + [0 -5 0];
% 
% end
% 
% %[EOF] staticCameraPosition.m